package com.bba.fms.common.ezspecial.dto;

import lombok.Data;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @BelongsProject: fms
 * @Author: 王志鹏
 * @CreateTime: 2019-10-17 14:18
 * @description: 返回结果
 */

@Data
public class ExcelResult<T> implements Serializable {

    /**
     * 是否出现过错误数据(验证未通过) 出现过为true,未出现过false
     */
    private Boolean errFlag = false;
    private transient  List<T> data;
    private transient  Workbook workbook;
    private List<String> headList = new ArrayList<>();//获得第一行数据
    private List<Edata> edata = new ArrayList<>(); //错误数据
    private List<CorrectData> correctDataList = new ArrayList<>(); //正确数据
}
